package com.wunong.smart.collection.domain.state.impl;

import com.wunong.smart.collection.application.context.CollectionContext;
import com.wunong.smart.collection.application.request.CancelCollectionRequest;
import com.wunong.smart.collection.application.request.CollectRequest;
import com.wunong.smart.collection.domain.model.CollectionDomain;
import com.wunong.smart.collection.domain.state.CollectionStateService;

/**
 * @author create by zealot.zt
 */
public class DefaultCollectionStateService implements CollectionStateService {

    @Override
    public boolean canCollect(CollectionContext<CollectRequest> context) {
        return true;
    }

    @Override
    public boolean canCancel(CancelCollectionRequest request, CollectionDomain domain) {
        return true;
    }

}
